package com.pj.znt.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ChatConfig 类用于读取聊天API的配置信息。
 *
 * @author 耿佳豪
 * @version 1.0
 * @since 2024-11-21
 */
@Data
@Component
@ConfigurationProperties(prefix = "fastgpt")
public class ChatConfig {

    private String apiKey;
    private String url;
    private String authorization;
    private Boolean stream;
    private Boolean detail;
}